package com.shop.dao;

import java.util.List;

import com.shop.pojo.Admin;


public interface IAdminDao {
	public List<Admin> find(int level,int firstResult,int maxResult);
	public int count(int level);
	public void save(Admin admin);
	public Admin findById(Integer id);
	public void deleteById(Integer id);
	public Admin findByUserName(String userName);
	public void update(Admin admin);
}
